package com.qyhl.module_practice.activity.detail.comment;


import com.qyhl.webtv.commonlib.entity.civilized.PracticeCommentBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeVolunteerBean;

import java.util.List;

public interface PracticeActCommentContract {
    interface PracticeActCommentView {
        void commentError(String msg);

        void commentSuccess(String msg);

        void setCommentList(List<PracticeCommentBean> beanList, boolean isMore);

        void setCommentError(String msg, boolean isMore);

        void setVolInfo(PracticeVolunteerBean bean);
    }

    interface PracticeActCommentPresenter {
        void getCommentList(String actId, String page);

        void addComment(String actId, String phone, String content);

        void getVolInfo(String phone);

        void commentError(String msg);

        void commentSuccess(String msg);

        void setCommentList(List<PracticeCommentBean> beanList, boolean isMore);

        void setCommentError(String msg, boolean isMore);

        void setVolInfo(PracticeVolunteerBean bean);

    }

    interface PracticeActCommentModel {
        void getCommentList(String actId, String page);

        void addComment(String actId, String phone, String content);

        void getVolInfo(String phone);
    }
}
